package de.baumann.browser.views.dialog

import android.content.Context
import android.view.View

class UnLoginDialog(context: Context, var onClickListener: View.OnClickListener) : BaseTipDialog(context) {

    override fun initView() {
        super.initView()
        getButton().setOnClickListener {
            onClickListener.onClick(it)
            dismiss()
        }
    }

    override fun getTipContent(): String {
        return "您还未登录"
    }

    override fun getTipSubContent(): String {
        return "登录可使用更多功能"
    }

    override fun getTipButtonText(): String {
        return "去登陆"
    }

}